<div id="panel">
	<div id="panelleft">
		<?php echo img(array('src'=>asset_url().'images/index.png', 'alt'=> 'home')); ?>
	</div>
	<div id="panelright">
		<div id="panellogin">

			<div class="titleStyle1">Log In</div>
			<div class="errorMessage"><?php echo validation_errors(); ?></div>
			<?php echo form_open('login'); ?>
			<div>
				<input class="textboxStyle1" type="text" id="username"
					value="<?php echo set_value('username'); ?>" maxlength="30"
					name="username" placeholder="user name" autofocus required>
			</div>
			<div style="margin-top: 25px;">
				<input class="textboxStyle1" type="password" maxlength="30"
					id="password" name="password" placeholder="password" required>
			</div>

			<div style="margin-top: 25px;">
				<input class="buttonStyle1" value="Log In" type="submit" id="signup">
			</div>
			<?php echo form_close();?>
		</div>
	</div>
</div>
